package com.study.spmongodb.im.pojo;

/**
 * @author study
 * @version 1.0
 * @date 2020/10/7 21:05
 */
public enum MessageStatus {
    /**
     * 未读
     */
    NO_READ(1),
    /**
     * 已读
     */
    READED(2);
    private Integer raw;

    public Integer getValue() {
        return raw;
    }

    MessageStatus(Integer raw) {
        this.raw = raw;
    }

    @Override
    public String toString() {
        return raw.toString();
    }

}
